#!/bin/bash

nome="plot "
tam=$[$2-1]
for i in `seq 0 $tam`; do
  nome=$nome"\""$1".visplot"$i"\" with linespoints"
  if [ "$i" -lt "$tam" ]; then
    nome=$nome", "
  fi
done
echo $nome